package com.example.libraryms.model.dto;

import com.example.libraryms.model.base.BaseQueryDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Cauli
 * @date 2023/7/31 12:02
 * @description 图书查询参数
 */
@Data
@ApiModel(value = "BookQueryDTO", description = "图书查询参数")
public class BookQueryDTO extends BaseQueryDTO {
    @ApiModelProperty(value = "图书名称")
    String name;

    @ApiModelProperty("最小价格")
    BigDecimal minPrice;

    @ApiModelProperty("最大价格")
    BigDecimal maxPrice;

    @ApiModelProperty("作者")
    String author;

    @ApiModelProperty("出版社")
    String pubCompany;
}
